package com.zyw.zhuangdian.pojo.dto;

import com.zyw.zhuangdian.constant.ServiceConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("点赞表")
public class ApproveDto extends PageDto{
    @ApiModelProperty("主键id")
    private Long aid;
    @ApiModelProperty("点赞者id 32")
    private String fromUid;
    @ApiModelProperty("点赞内容id aid/pid")
    private Long toAid;
    @ApiModelProperty("类型 article/production")
    private String type;
    @ApiModelProperty("记录状态 0 失效 1 有效")
    private int status = ServiceConstant.STATUS_VALID;
    @ApiModelProperty("创建时间")
    private Date createTime;
}
